<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    public function up()
    {
        Schema::create('admins', function (Blueprint $table) {
            $table->increments('adminid');
            $table->string('adminname',8)->unique();
            $table->string('password',100);
            $table->rememberToken();
        });
    }
    
    public function down()
    {
        Schema::dropIfExists('admins');
    }
};
